package com.dms.modules.product.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Map;

@Data
@ApiModel(value = "ProductSkuVO", description = "商品SKU展示对象")
public class ProductSkuVO {
    
    @ApiModelProperty("SKU ID")
    private Long id;
    
    @ApiModelProperty("商品ID")
    private Long productId;
    
    @ApiModelProperty("SKU编码")
    private String skuCode;
    
    @ApiModelProperty("规格值组合")
    private Map<String, String> specs;
    
    @ApiModelProperty("原价")
    private BigDecimal originalPrice;
    
    @ApiModelProperty("售价")
    private BigDecimal price;
    
    @ApiModelProperty("库存")
    private Integer stock;
    
    @ApiModelProperty("状态：0-禁用，1-启用")
    private Integer status;
    
    @ApiModelProperty("图片")
    private String image;
    
    @ApiModelProperty("销量")
    private Integer sales;
} 